﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace csharp_mvcintro.Models
{
    public static class ChoreHolder
    {
        //list to hold our Chores
        public static List<Todo> GetMyChores()
        {
            var ListToReturn = new List<Todo>(){

                new Todo(){Task="Buy spoons ", ChoreType="Kitchen",AssignedTo="Tony", IsCompleted=true, DateCreated=DateTime.Now.AddDays(-10)},
                new Todo(){Task="Make coffee", ChoreType="Kitchen",AssignedTo="Josh", IsCompleted=true, DateCreated=DateTime.Now.AddDays(-8)},
                new Todo(){Task="Turn lights on", ChoreType="Bedroom",AssignedTo="Triston", IsCompleted=false, DateCreated=DateTime.Now.AddDays(-1)}

            };

            return ListToReturn;
        }
    }
}